home *** CD-ROM | disk | FTP | other *** search
- on RecupPisteClic PisteDeb, PisteFin, NumCast
- repeat with Piste = PisteDeb to PisteFin
- if rollOver(Piste) then
- if the castNum of sprite Piste = NumCast then
- return Piste
- end if
- end if
- end repeat
- return 0
- end
-
- on RecupCoord
- set AccuA to string(the clickLoc)
- set AccuB to chars(AccuA, 7, length(AccuA) - 1)
- set AccuA to offset(",", AccuB)
- put " " into char AccuA of AccuB
- return AccuB
- end
-
- on PutChampsInList NameChamps
- set listPara to list()
- set Champs to the text of cast NameChamps
- repeat with AccuA = 1 to the number of words in Champs
- add(listPara, word AccuA of Champs)
- end repeat
- return listPara
- end
-
- on PutWordsInList Champs
- set listPara to list()
- repeat with AccuA = 1 to the number of words in Champs
- add(listPara, word AccuA of Champs)
- end repeat
- return listPara
- end
-
- on KS
- DesactiveTouches()
- end
-
- on FI
- ForceInitVarLVI()
- end
-
- on AM
- AnnuleMacroVar()
- end
-
- on SR
- SetRecord()
- end
-
- on FD
- FinDemo()
- end
-
- on SG
- showGlobals()
- end
-
- on GiveKey
- put "KeyCode=" & string(the keyCode) & "the Key=" & string(the key)
- end
-